package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.YonghuxinxishenheMapper;
import com.ruoyi.system.domain.Yonghuxinxishenhe;
import com.ruoyi.system.service.IYonghuxinxishenheService;

/**
 * 用户信息审核Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
@Service
public class YonghuxinxishenheServiceImpl implements IYonghuxinxishenheService 
{
    @Autowired
    private YonghuxinxishenheMapper yonghuxinxishenheMapper;

    /**
     * 查询用户信息审核
     * 
     * @param yhshLsid 用户信息审核主键
     * @return 用户信息审核
     */
    @Override
    public Yonghuxinxishenhe selectYonghuxinxishenheByYhshLsid(Long yhshLsid)
    {
        return yonghuxinxishenheMapper.selectYonghuxinxishenheByYhshLsid(yhshLsid);
    }

    /**
     * 查询用户信息审核列表
     * 
     * @param yonghuxinxishenhe 用户信息审核
     * @return 用户信息审核
     */
    @Override
    public List<Yonghuxinxishenhe> selectYonghuxinxishenheList(Yonghuxinxishenhe yonghuxinxishenhe)
    {
        return yonghuxinxishenheMapper.selectYonghuxinxishenheList(yonghuxinxishenhe);
    }

    /**
     * 新增用户信息审核
     * 
     * @param yonghuxinxishenhe 用户信息审核
     * @return 结果
     */
    @Override
    public int insertYonghuxinxishenhe(Yonghuxinxishenhe yonghuxinxishenhe)
    {
        return yonghuxinxishenheMapper.insertYonghuxinxishenhe(yonghuxinxishenhe);
    }

    /**
     * 修改用户信息审核
     * 
     * @param yonghuxinxishenhe 用户信息审核
     * @return 结果
     */
    @Override
    public int updateYonghuxinxishenhe(Yonghuxinxishenhe yonghuxinxishenhe)
    {
        return yonghuxinxishenheMapper.updateYonghuxinxishenhe(yonghuxinxishenhe);
    }

    /**
     * 批量删除用户信息审核
     * 
     * @param yhshLsids 需要删除的用户信息审核主键
     * @return 结果
     */
    @Override
    public int deleteYonghuxinxishenheByYhshLsids(Long[] yhshLsids)
    {
        return yonghuxinxishenheMapper.deleteYonghuxinxishenheByYhshLsids(yhshLsids);
    }

    /**
     * 删除用户信息审核信息
     * 
     * @param yhshLsid 用户信息审核主键
     * @return 结果
     */
    @Override
    public int deleteYonghuxinxishenheByYhshLsid(Long yhshLsid)
    {
        return yonghuxinxishenheMapper.deleteYonghuxinxishenheByYhshLsid(yhshLsid);
    }
}
